package com.example.firstproject.mapper;

import com.example.firstproject.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

import com.example.firstproject.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;


@Mapper
public interface UserMapper {

    public User getByUsername(String username);

    public User getAllUser(String username);

    public static User getByStudentIdOrName(String studentId, String username) {
        return null;
    }


    public void insertUser(User user);

    public int updateUser(User user);

    public List<User> getUser(Map<String,Object> params);

}



